package com.mxt.biz.impl;

import com.mxt.biz.MyTypeBiz;
import com.mxt.dao.MyTypeDao;
import com.mxt.entity.MyType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class MyTypeBizImpl implements MyTypeBiz {
    @Resource
    private MyTypeDao myTypeDao;
    public List<MyType> queryByType(String type){
        return  myTypeDao.queryByType(type);
    }

}
